package com.example.testrecorder;

import android.app.Application;
import android.content.Context;

import com.example.testrecorder.domain.User;
import com.example.testrecorder.utils.MyDialog;

import org.litepal.LitePal;

/**
 * @author Yingyong Lao
 * 创建时间 2021/5/22 19:59
 * @version 1.0
 */
public class MyApplication extends Application {
    private static Context context;
    public static User currUser;
    private static MyApplication myApplication;


    @Override
    public void onCreate() {
        super.onCreate();
        context=getApplicationContext();
        LitePal.initialize(this);
    }
    public static Context getContext(){
        return context;
    }


}
